package com.woniuxy.hrp.security;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * @Description：
 * @Author：曹杰克
 * @CreateTime：2022/9/5 21:39
 */
public class test {
    public static void main(String[] args) {
        TestCrypt("123456");
    }
    public static void TestCrypt(CharSequence password) {
        BCryptPasswordEncoder bCryptPasswordEncoder = new BCryptPasswordEncoder();
        String encode1 = bCryptPasswordEncoder.encode("123456");
        System.out.println("encode1:" + encode1);
    }
}
